LVIS_RARE_IDS = [
    12,
    13,
    16,
    19,
    20,
    29,
    30,
    37,
    38,
    39,
    41,
    48,
    50,
    51,
    62,
    68,
    70,
    77,
    81,
    84,
    92,
    104,
    105,
    112,
    116,
    118,
    122,
    125,
    129,
    130,
    135,
    139,
    141,
    143,
    146,
    150,
    154,
    158,
    160,
    163,
    166,
    171,
    178,
    181,
    195,
    201,
    208,
    209,
    213,
    214,
    221,
    222,
    230,
    232,
    233,
    235,
    236,
    237,
    239,
    243,
    244,
    246,
    249,
    250,
    256,
    257,
    261,
    264,
    265,
    268,
    269,
    274,
    280,
    281,
    286,
    290,
    291,
    293,
    294,
    299,
    300,
    301,
    303,
    306,
    309,
    312,
    315,
    316,
    320,
    322,
    325,
    330,
    332,
    347,
    348,
    351,
    352,
    353,
    354,
    356,
    361,
    363,
    364,
    365,
    367,
    373,
    375,
    380,
    381,
    387,
    388,
    396,
    397,
    399,
    404,
    406,
    409,
    412,
    413,
    415,
    419,
    425,
    426,
    427,
    430,
    431,
    434,
    438,
    445,
    448,
    455,
    457,
    466,
    477,
    478,
    479,
    480,
    481,
    485,
    487,
    490,
    491,
    502,
    505,
    507,
    508,
    512,
    515,
    517,
    526,
    531,
    534,
    537,
    540,
    541,
    542,
    544,
    550,
    556,
    559,
    560,
    566,
    567,
    570,
    571,
    573,
    574,
    576,
    579,
    581,
    582,
    584,
    593,
    596,
    598,
    601,
    602,
    605,
    609,
    615,
    617,
    618,
    619,
    624,
    631,
    633,
    634,
    637,
    639,
    645,
    647,
    650,
    656,
    661,
    662,
    663,
    664,
    670,
    671,
    673,
    677,
    685,
    687,
    689,
    690,
    692,
    701,
    709,
    711,
    713,
    721,
    726,
    728,
    729,
    732,
    742,
    751,
    753,
    754,
    757,
    758,
    763,
    768,
    771,
    777,
    778,
    782,
    783,
    784,
    786,
    787,
    791,
    795,
    802,
    804,
    807,
    808,
    809,
    811,
    814,
    819,
    821,
    822,
    823,
    828,
    830,
    848,
    849,
    850,
    851,
    852,
    854,
    855,
    857,
    858,
    861,
    863,
    868,
    872,
    882,
    885,
    886,
    889,
    890,
    891,
    893,
    901,
    904,
    907,
    912,
    913,
    916,
    917,
    919,
    924,
    930,
    936,
    937,
    938,
    940,
    941,
    943,
    944,
    951,
    955,
    957,
    968,
    971,
    973,
    974,
    982,
    984,
    986,
    989,
    990,
    991,
    993,
    997,
    1002,
    1004,
    1009,
    1011,
    1014,
    1015,
    1027,
    1028,
    1029,
    1030,
    1031,
    1046,
    1047,
    1048,
    1052,
    1053,
    1056,
    1057,
    1074,
    1079,
    1083,
    1115,
    1117,
    1118,
    1123,
    1125,
    1128,
    1134,
    1143,
    1144,
    1145,
    1147,
    1149,
    1156,
    1157,
    1158,
    1164,
    1166,
    1192,
]

LVIS_BASE_IDS = [
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    14,
    15,
    17,
    18,
    21,
    22,
    23,
    24,
    25,
    26,
    27,
    28,
    31,
    32,
    33,
    34,
    35,
    36,
    40,
    42,
    43,
    44,
    45,
    46,
    47,
    49,
    52,
    53,
    54,
    55,
    56,
    57,
    58,
    59,
    60,
    61,
    63,
    64,
    65,
    66,
    67,
    69,
    71,
    72,
    73,
    74,
    75,
    76,
    78,
    79,
    80,
    82,
    83,
    85,
    86,
    87,
    88,
    89,
    90,
    91,
    93,
    94,
    95,
    96,
    97,
    98,
    99,
    100,
    101,
    102,
    103,
    106,
    107,
    108,
    109,
    110,
    111,
    113,
    114,
    115,
    117,
    119,
    120,
    121,
    123,
    124,
    126,
    127,
    128,
    131,
    132,
    133,
    134,
    136,
    137,
    138,
    140,
    142,
    144,
    145,
    147,
    148,
    149,
    151,
    152,
    153,
    155,
    156,
    157,
    159,
    161,
    162,
    164,
    165,
    167,
    168,
    169,
    170,
    172,
    173,
    174,
    175,
    176,
    177,
    179,
    180,
    182,
    183,
    184,
    185,
    186,
    187,
    188,
    189,
    190,
    191,
    192,
    193,
    194,
    196,
    197,
    198,
    199,
    200,
    202,
    203,
    204,
    205,
    206,
    207,
    210,
    211,
    212,
    215,
    216,
    217,
    218,
    219,
    220,
    223,
    224,
    225,
    226,
    227,
    228,
    229,
    231,
    234,
    238,
    240,
    241,
    242,
    245,
    247,
    248,
    251,
    252,
    253,
    254,
    255,
    258,
    259,
    260,
    262,
    263,
    266,
    267,
    270,
    271,
    272,
    273,
    275,
    276,
    277,
    278,
    279,
    282,
    283,
    284,
    285,
    287,
    288,
    289,
    292,
    295,
    296,
    297,
    298,
    302,
    304,
    305,
    307,
    308,
    310,
    311,
    313,
    314,
    317,
    318,
    319,
    321,
    323,
    324,
    326,
    327,
    328,
    329,
    331,
    333,
    334,
    335,
    336,
    337,
    338,
    339,
    340,
    341,
    342,
    343,
    344,
    345,
    346,
    349,
    350,
    355,
    357,
    358,
    359,
    360,
    362,
    366,
    368,
    369,
    370,
    371,
    372,
    374,
    376,
    377,
    378,
    379,
    382,
    383,
    384,
    385,
    386,
    389,
    390,
    391,
    392,
    393,
    394,
    395,
    398,
    400,
    401,
    402,
    403,
    405,
    407,
    408,
    410,
    411,
    414,
    416,
    417,
    418,
    420,
    421,
    422,
    423,
    424,
    428,
    429,
    432,
    433,
    435,
    436,
    437,
    439,
    440,
    441,
    442,
    443,
    444,
    446,
    447,
    449,
    450,
    451,
    452,
    453,
    454,
    456,
    458,
    459,
    460,
    461,
    462,
    463,
    464,
    465,
    467,
    468,
    469,
    470,
    471,
    472,
    473,
    474,
    475,
    476,
    482,
    483,
    484,
    486,
    488,
    489,
    492,
    493,
    494,
    495,
    496,
    497,
    498,
    499,
    500,
    501,
    503,
    504,
    506,
    509,
    510,
    511,
    513,
    514,
    516,
    518,
    519,
    520,
    521,
    522,
    523,
    524,
    525,
    527,
    528,
    529,
    530,
    532,
    533,
    535,
    536,
    538,
    539,
    543,
    545,
    546,
    547,
    548,
    549,
    551,
    552,
    553,
    554,
    555,
    557,
    558,
    561,
    562,
    563,
    564,
    565,
    568,
    569,
    572,
    575,
    577,
    578,
    580,
    583,
    585,
    586,
    587,
    588,
    589,
    590,
    591,
    592,
    594,
    595,
    597,
    599,
    600,
    603,
    604,
    606,
    607,
    608,
    610,
    611,
    612,
    613,
    614,
    616,
    620,
    621,
    622,
    623,
    625,
    626,
    627,
    628,
    629,
    630,
    632,
    635,
    636,
    638,
    640,
    641,
    642,
    643,
    644,
    646,
    648,
    649,
    651,
    652,
    653,
    654,
    655,
    657,
    658,
    659,
    660,
    665,
    666,
    667,
    668,
    669,
    672,
    674,
    675,
    676,
    678,
    679,
    680,
    681,
    682,
    683,
    684,
    686,
    688,
    691,
    693,
    694,
    695,
    696,
    697,
    698,
    699,
    700,
    702,
    703,
    704,
    705,
    706,
    707,
    708,
    710,
    712,
    714,
    715,
    716,
    717,
    718,
    719,
    720,
    722,
    723,
    724,
    725,
    727,
    730,
    731,
    733,
    734,
    735,
    736,
    737,
    738,
    739,
    740,
    741,
    743,
    744,
    745,
    746,
    747,
    748,
    749,
    750,
    752,
    755,
    756,
    759,
    760,
    761,
    762,
    764,
    765,
    766,
    767,
    769,
    770,
    772,
    773,
    774,
    775,
    776,
    779,
    780,
    781,
    785,
    788,
    789,
    790,
    792,
    793,
    794,
    796,
    797,
    798,
    799,
    800,
    801,
    803,
    805,
    806,
    810,
    812,
    813,
    815,
    816,
    817,
    818,
    820,
    824,
    825,
    826,
    827,
    829,
    831,
    832,
    833,
    834,
    835,
    836,
    837,
    838,
    839,
    840,
    841,
    842,
    843,
    844,
    845,
    846,
    847,
    853,
    856,
    859,
    860,
    862,
    864,
    865,
    866,
    867,
    869,
    870,
    871,
    873,
    874,
    875,
    876,
    877,
    878,
    879,
    880,
    881,
    883,
    884,
    887,
    888,
    892,
    894,
    895,
    896,
    897,
    898,
    899,
    900,
    902,
    903,
    905,
    906,
    908,
    909,
    910,
    911,
    914,
    915,
    918,
    920,
    921,
    922,
    923,
    925,
    926,
    927,
    928,
    929,
    931,
    932,
    933,
    934,
    935,
    939,
    942,
    945,
    946,
    947,
    948,
    949,
    950,
    952,
    953,
    954,
    956,
    958,
    959,
    960,
    961,
    962,
    963,
    964,
    965,
    966,
    967,
    969,
    970,
    972,
    975,
    976,
    977,
    978,
    979,
    980,
    981,
    983,
    985,
    987,
    988,
    992,
    994,
    995,
    996,
    998,
    999,
    1000,
    1001,
    1003,
    1005,
    1006,
    1007,
    1008,
    1010,
    1012,
    1013,
    1016,
    1017,
    1018,
    1019,
    1020,
    1021,
    1022,
    1023,
    1024,
    1025,
    1026,
    1032,
    1033,
    1034,
    1035,
    1036,
    1037,
    1038,
    1039,
    1040,
    1041,
    1042,
    1043,
    1044,
    1045,
    1049,
    1050,
    1051,
    1054,
    1055,
    1058,
    1059,
    1060,
    1061,
    1062,
    1063,
    1064,
    1065,
    1066,
    1067,
    1068,
    1069,
    1070,
    1071,
    1072,
    1073,
    1075,
    1076,
    1077,
    1078,
    1080,
    1081,
    1082,
    1084,
    1085,
    1086,
    1087,
    1088,
    1089,
    1090,
    1091,
    1092,
    1093,
    1094,
    1095,
    1096,
    1097,
    1098,
    1099,
    1100,
    1101,
    1102,
    1103,
    1104,
    1105,
    1106,
    1107,
    1108,
    1109,
    1110,
    1111,
    1112,
    1113,
    1114,
    1116,
    1119,
    1120,
    1121,
    1122,
    1124,
    1126,
    1127,
    1129,
    1130,
    1131,
    1132,
    1133,
    1135,
    1136,
    1137,
    1138,
    1139,
    1140,
    1141,
    1142,
    1146,
    1148,
    1150,
    1151,
    1152,
    1153,
    1154,
    1155,
    1159,
    1160,
    1161,
    1162,
    1163,
    1165,
    1167,
    1168,
    1169,
    1170,
    1171,
    1172,
    1173,
    1174,
    1175,
    1176,
    1177,
    1178,
    1179,
    1180,
    1181,
    1182,
    1183,
    1184,
    1185,
    1186,
    1187,
    1188,
    1189,
    1190,
    1191,
    1193,
    1194,
    1195,
    1196,
    1197,
    1198,
    1199,
    1200,
    1201,
    1202,
]
